import {Http} from '@/utils/http.js';
class Comment {
	constructor(arg) {
		
	}
	
	static async getCommentList(param){
		return await Http.request({
			url: "funComment/findCommentList",
			data: param,
			method: "POST",
			header: {
			      'content-type': 'application/x-www-form-urlencoded'
			}
		})
	}
	
	static async addComment(param){
		return await Http.request({
			url: "funComment/addComment",
			data: param,
			method: "POST",
			header: {
			      'content-type': 'application/x-www-form-urlencoded'
			}
		})
	}
	
	static async findCommentList(param){
		return await Http.request({
			url: "topicComment/findCommentList",
			data: param,
			method: "POST",
			header: {
			      'content-type': 'application/x-www-form-urlencoded'
			}
		})
	}
	static async addTopicComment(param){
		return await Http.request({
			url: "topicComment/addComment",
			data: param,
			method: "POST",
			header: {
			      'content-type': 'application/x-www-form-urlencoded'
			}
		})
	}
	
}
export {
	Comment
}